#pragma once

#include <string>
#include <iostream>
#include <GL\glui.h>

using namespace std;

class Light
{
private:
	string ID;
	int lightID;
public:
	Light() {}

	void setID(string _ID)
	{
		ID = _ID;
	}

	string getID()
	{
		return ID;
	}

	void setLightID(int _ID)
	{
		lightID = _ID;
	}

	int getLightID()
	{
		switch(lightID)
		{
			case 0:
				return GL_LIGHT0;
				break;
			case 1:
				return GL_LIGHT1;
				break;
			case 2:
				return GL_LIGHT2;
				break;
			case 3:
				return GL_LIGHT3;
				break;
			case 4:
				return GL_LIGHT4;
				break;
			case 5:
				return GL_LIGHT5;
				break;
			case 6:
				return GL_LIGHT6;
				break;
			case 7:
				return GL_LIGHT7;
				break;
			default:
				break;
		}
	}

	virtual void applyLight() {}
	virtual void turnOff() {}
	virtual void turnOn() {}
};